<div class="sebelumjud">
        <div class="jodol">Progress |  —<?php echo date('d M Y')?></div>
                
                        <?php
                            if(!empty($page) and !empty($curr_page)){
                                echo '<div id="panah">';
                                if($curr_page>1)
                                echo '<a href="'.base_url().'progress/progress_con/progress/'.$option.'/'.$id_divisi.'/'.($curr_page-1).'" class="pre"><img src="'.base_url().'images/pre.png" width="18" height="17" /></a>
                                    ';
                                if($curr_page<$page)
                                    echo '<a href="'.base_url().'progress/progress_con/progress/'.$option.'/'.$id_divisi.'/'.($curr_page+1).'" class="next"><img src="'.base_url().'images/next.png" width="18" height="17" /></a>
                                        ';
                                echo '</div>';
                            }
                        ?>    
                
</div>
<div class="clear"></div>

        <div id="jumat">
                <div id="last">
                        <a href="<?php echo base_url().'progress/progress_con/progress/1'?>">last 10</a>
                        <a href="<?php echo base_url().'progress/progress_con/progress/2'?>">Today</a>
                        <a href="<?php echo base_url().'progress/progress_con/progress/3'?>">This Month</a>
                        <a href="<?php echo base_url().'progress/progress_con/progress_personal'?>">Personal</a>
                </div>
    <div class="hilo">
                <table border="0" cellspacing="0" cellpadding="0" class="tabeltgl">
                    <tr>
                    <td><ul class="are">
                        <li><a href="<?php echo base_url().'progress/progress_con/progress/'.$option.'/'?>">All Division</a></li>
                        <?php
                            if(!empty($list_divisi)){
                                for($i=0;$i<count($list_divisi);$i++){
                                    echo '<li><a href="'.base_url().'progress/progress_con/progress/'.$option.'/'.$list_divisi[$i]['ID_DIVISI'].'">'.$list_divisi[$i]['NAMA_DIVISI'].'</a></li>
                                        ';
                                }
                            }
                        ?>
                </ul></td>
                </tr>
                    </table>
                </div>

                <div id="text">
                    <?php
                        if(!empty($progress)){
                            for($i=0;$i<count($progress);$i++){
                                echo '
                            <div class="bebek bwhpad">
                                    <img class="avatarmu" src="'.$progress[$i]['FOTO'].'" width="48" height="48" />
                                    '.$progress[$i]['DESC_PROGRESS'].' 
                                    <p class="clear"></p>';
                                if($progress[$i]['JENIS']=='link'){
                                    echo '
                                    <div class="imgprog2">
                                        <div class="imgprog4">
                                        <div class="consolas"><a href="#">'.$progress[$i]['LINK'].'</a></div>
                                        </div>
                                    </div>
                                        ';
                                    
                                        }
                                else if($progress[$i]['JENIS']=='picture'){
                                    echo '
                                    <div class="imgprog2">
                                        <div class="imgprog4">
                                        <div class="consolas"><a href="#"><img width="100" src="'.$progress[$i]['LINK'].'"></a></div>
                                        </div>
                                    </div>
                                        ';
                                }
                                else if($progress[$i]['JENIS']=='file'){
                                    echo '
                                    <div class="imgprog2">
                                        <div class="imgprog4">
                                        <div class="consolas"><a href="#">'.$progress[$i]['LINK'].'</a></div>
                                        </div>
                                    </div>
                                        ';
                                }
                                    echo '<span class="staff"><a href="'.base_url().'progress/progress_con/personal_bio/'.$progress[$i]['ID'].'">'.$progress[$i]['NAMA'].'</a>, Promotion Staff, '.$progress[$i]['TGL'].', '.$progress[$i]['WAKTU'].'</span>
                                    <span class="like"><input name="send"  onClick="location.href=\''.base_url().'progress/progress_con/progress_like/'.$progress[$i]['ID_PROGRESS'].'\'" type="button" class="likebut" value="Like" /></span>
                                    <span class="plusX">+'.$progress[$i]['LIKE'].'</span>
                                    <p class="clear"></p>
                            </div>
                                    ';
                            }
                        }
                    ?>
                        <p class="paging">
                        <?php
                            if(!empty($page) and !empty($curr_page)){
                                if($curr_page>1)
                                echo '<a href="'.base_url().'progress/progress_con/progress/'.$option.'/'.$id_divisi.'/'.($curr_page-1).'"><</a>';
                                for($i=0;$i<$page;$i++){
                                    if($curr_page==($i+1))
                                        echo '<b>';
                                    echo '<a href="'.base_url().'progress/progress_con/progress/'.$option.'/'.$id_divisi.'/'.($i+1).'">'.($i+1).'</a>';
                                    if($curr_page==($i+1))
                                        echo '</b>';
                                }
                                if($curr_page<$page)
                                    echo '<a href="'.base_url().'progress/progress_con/progress/'.$option.'/'.$id_divisi.'/'.($curr_page+1).'">></a>';
                            }
                        ?>    
                        </p>
                </div><!---end div#text --->
        </div><!---end div#jumat --->
        <div class="clear"></div>